package com.mz.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (UmsUserInfo)表实体类
 *
 * @author makejava
 * @since 2023-12-13 13:38:42
 */
@Data
@Accessors(chain = true)
public class UmsUserInfo {

    @TableId( type = IdType.ASSIGN_ID)
    private Long id;

    private String username;

    private String nickname;

    private String password;

    private String openid;
    //所属角色
    private Long roleId;
    //用户头像
    private String avatar;

    private Integer gender;

    private Object height;

    private Object weight;
    //积分
    private Integer score;
    //是否是代理人
    private Integer proxy;
    //推广人编号
    private String proxyKey;
    //锁定用户
    private Integer isLock;
    //删除用户标志
    @TableLogic
    private Integer delFlag;

    private Long createBy;

    @TableField( fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private Long updateBy;

    @TableField( fill = FieldFill.UPDATE)
    private Date updateTime;

}

